//
//  clsGhost.cpp
//  NewMath
//
//  Created by Ngô Hoàng Nam on 12/27/14.
//
//

#include "PlayAdjustGhostObj.h"
#include "../../../GamePlayConfig.h"
#include "../PlayConfig.h"

PlayAdjustGhostObj::PlayAdjustGhostObj(){}

void PlayAdjustGhostObj::initGhost(std::string ghostSprite, std::string text, cocos2d::Vec2 Position, float kScale)
{
    BaseGhostObj::initGhost(ghostSprite, Position, kScale);
   
//    float newWidthGhost = m_Ghost->getContentSize().width*kScale;
//    float newHeightGhost = m_Ghost->getContentSize().height*kScale;
    

}
void PlayAdjustGhostObj::btnNumber_Click(cocos2d::Ref *pSender)
{
    Button* btn = (Button*)pSender;
    std::string value = btn->getTitleText();
	GamePlayConfig::GetInstance()->m_selectNumber = atoi(value.c_str());
    CCLOG("%d",GamePlayConfig::GetInstance()->m_selectNumber);
}
